<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ContactGroupInput.ascx.cs" Inherits="admin_webparts_Plug_ins_Contact_ContactGroupInput" %>
<%@ Import Namespace="NTTHAO.CommonWeb" %>
<%@ Import Namespace="NTTHAO.Web.BL.Contact" %>
<div class="tip">
    <h1 style="left: 0px; position: relative;">Input contact group</h1>
    <div style="display: block; width: 32px; height: 32px; float: right; position: relative; top: -27px;"><a title="<%=LanguageUtility.GetLanguageText("CLICK_RETURN", Session) %>" href="?type=<%=Request.QueryString["type"] %>&name=<%=Request.QueryString["name"] %>><img src="resources/images/Back.png" alt="" /></a></div>
</div>
<form id="aspnetForm" runat="server" method="post" onsubmit="return NTTHAO.formValidator.onFormSubmit();">
<p>
    <span id="spSave" class="yui-button yui-link-button yuibtn yuibtn-icon btnsave"><span class="first-child"><input id="btnSave" type="submit" value="Save" runat="server" onserverclick="btnSave_Click" /></span></span>
    <span id="spCancel" class="yui-button yui-link-button yuibtn yuibtn-icon btncancel"><span class="first-child"><a href="?type=<%=Request.QueryString["type"] %>&name=<%=Request.QueryString["name"] %>" tabindex="0"><%=LanguageUtility.GetLanguageText("CANCEL", Session)%></a></span></span>
</p>
<script type="text/javascript">
    YAHOO.util.Event.onContentReady('spSave', function () {
        var spSave = new YAHOO.widget.Button("spSave");
    });
    YAHOO.util.Event.onContentReady('spCancel', function () {
        var spCancel = new YAHOO.widget.Button("spCancel");
    });
</script>
<table width="100%" cellspacing="1" cellpadding="3" border="1" style="margin-top: 10px;" class="grid">
    <tr class="even">
        <td width="150px" align="right"><%=LanguageUtility.GetLanguageText("NAME", Session) %>:</td>
        <td>
            <asp:TextBox ID="txtName" runat="server" Width="500px"></asp:TextBox>
        </td>
    </tr>
    <tr class="odd" style="<%=Context.User.Identity.Name.Equals("admin", StringComparison.OrdinalIgnoreCase) ? "" : "display:none;" %>"">
        <td width="150px" align="right"><%=LanguageUtility.GetLanguageText("ACTIVE", Session) %>:</td>
        <td><asp:CheckBox ID="chkActive" runat="server" Text="Active" Checked="true" /></td>
    </tr>
</table>
<p style="text-align: left; margin-top: 10px;">
    <span id="spSave2" class="yui-button yui-link-button yuibtn yuibtn-icon btnsave"><span class="first-child"><input id="btnSave2" type="submit" value="Save" runat="server" onserverclick="btnSave_Click" /></span></span>
    <span id="spCancel2" class="yui-button yui-link-button yuibtn yuibtn-icon btncancel"><span class="first-child"><a href="?type=<%=Request.QueryString["type"] %>&name=<%=Request.QueryString["name"] %>"><%=LanguageUtility.GetLanguageText("CANCEL", Session)%></a></span></span>
</p>
<script type="text/javascript">
    YAHOO.util.Event.onContentReady('spSave2', function () {
        var spSave2 = new YAHOO.widget.Button("spSave2");
    });
    YAHOO.util.Event.onContentReady('spCancel2', function () {
        var spCancel2 = new YAHOO.widget.Button("spCancel2");
    });
</script>
</form>